[INFO] cloning repository https://github.com/tedbauer/bril-analyzer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tedbauer/bril-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd35e01b262d2b5c2b15f34eb433874cb0f5942a
[INFO] testing tedbauer/bril-analyzer against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedbauer%2Fbril-analyzer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tedbauer/bril-analyzer
[INFO] finished tweaking git repo https://github.com/tedbauer/bril-analyzer
[INFO] tweaked toml for git repo https://github.com/tedbauer/bril-analyzer written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tedbauer/bril-analyzer on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tedbauer/bril-analyzer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8a9aff9a8576352357b5c2967f1bb3b7c6a69d2d7af4e35442162744b6182b5
[INFO] running `Command { std: "docker" "start" "-a" "c8a9aff9a8576352357b5c2967f1bb3b7c6a69d2d7af4e35442162744b6182b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8a9aff9a8576352357b5c2967f1bb3b7c6a69d2d7af4e35442162744b6182b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8a9aff9a8576352357b5c2967f1bb3b7c6a69d2d7af4e35442162744b6182b5", kill_on_drop: false }`
[INFO] [stdout] c8a9aff9a8576352357b5c2967f1bb3b7c6a69d2d7af4e35442162744b6182b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d051336e10d45240ca3ab9b28876f2ace9a1a9ea62b12b5c66f1c6eba8ea81ff
[INFO] running `Command { std: "docker" "start" "-a" "d051336e10d45240ca3ab9b28876f2ace9a1a9ea62b12b5c66f1c6eba8ea81ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling bril-analyzer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]  --> src/prog.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[serde(untagged)]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 6 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |          --------- the attribute is introduced here
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout]   = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]   --> src/prog.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[serde(untagged)]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 14 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          --------- the attribute is introduced here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: derive helper attribute is used before it is introduced
[INFO] [stdout]   --> src/prog.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[serde(untagged)]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 20 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          --------- the attribute is introduced here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Result`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Result`
[INFO] [stdout]  --> src/prog.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_json::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/cfg.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prog`
[INFO] [stdout]  --> src/cfg.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::prog;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read` and `self`
[INFO] [stdout]  --> src/count_divs.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Read};
[INFO] [stdout]   |               ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prog`
[INFO] [stdout]  --> src/count_divs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::prog;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name_to_block`
[INFO] [stdout]   --> src/cfg.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let name_to_block = gen_name_map(&blocks);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_to_block`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CFG` is never constructed
[INFO] [stdout]  --> src/cfg.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CFG {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/cfg.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Block<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_instr`, and `get_instr` are never used
[INFO] [stdout]   --> src/cfg.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<'a> Block<'a> {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn add_instr(&mut self, i: &'a Instruction) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn get_instr(&self, idx: usize) -> &Instruction {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_fresh_name` is never used
[INFO] [stdout]   --> src/cfg.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn gen_fresh_name(prefix: &String, name_map: &HashMap<String, &Block>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_name_map` is never used
[INFO] [stdout]   --> src/cfg.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn gen_name_map<'a>(blocks: &'a Vec<Block>) -> HashMap<String, &'a Block<'a>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_blocks` is never used
[INFO] [stdout]   --> src/cfg.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn gen_blocks(instrs: &Vec<Instruction>) -> Vec<Block> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_cfg` is never used
[INFO] [stdout]   --> src/cfg.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub fn gen_cfg(p: Program) -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cfg.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn gen_blocks(instrs: &Vec<Instruction>) -> Vec<Block> {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^         ^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn gen_blocks(instrs: &Vec<Instruction>) -> Vec<Block<'_>> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bril-analyzer` (bin "bril-analyzer") due to 6 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d051336e10d45240ca3ab9b28876f2ace9a1a9ea62b12b5c66f1c6eba8ea81ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d051336e10d45240ca3ab9b28876f2ace9a1a9ea62b12b5c66f1c6eba8ea81ff", kill_on_drop: false }`
[INFO] [stdout] d051336e10d45240ca3ab9b28876f2ace9a1a9ea62b12b5c66f1c6eba8ea81ff
